home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2374 < prev    next >
Encoding:
Text File  |  1996-08-06  |  3.1 KB  |  68 lines

  1. Newsgroups: comp.lang.pascal.delphi.misc,comp.lang.c++
  2. Path: cantaloupe.srv.cs.cmu.edu!rochester!rocksanne!news
  3. From: Keith Bagley <keithb@gpim.xerox.com>
  4. Subject: Re: C++ with Zapp vs. Delphi 
  5. Content-Type: TEXT/PLAIN; charset=US-ASCII
  6. Message-ID: <NEWTNews.821822862.4682.keith@keith.gpim.xerox.com>
  7. Sender: news@news.wrc.xerox.com
  8. Organization: Xerox
  9. X-Newsreader: NEWTNews & Chameleon -- TCP/IP for MS Windows from NetManage
  10. References: <4coar6$d4n@sun4.bham.ac.uk> <4coip7$69s@news1.usa.pipeline.com> <fRA+w0JfFG5X089yn@oslonett.no> <4dcc4d$6anc@tigger.cc.uic.edu>  <4ddke3$5lf@fountain.mindlink.net> 
  11. Mime-Version: 1.0
  12. Date: Tue, 16 Jan 1996 18:44:59 GMT
  13.  
  14.  
  15. In article <4ddke3$5lf@fountain.mindlink.net>, <brent_bysouth@mindlink.bc.ca> 
  16. writes:
  17. > olczyk@sunphy1 (Thadeus Olczyk) wrote:
  18. > Oh well, I'm probably falling for the bait here...
  19. > >As long as Delphi supports the toxic combination static typing and 
  20. > >single inheritance , people will not be able to use polymorphism
  21. > >to replace case statements which will always make Delphi slower in any
  22. > >large application. 
  23. I missed part of the beginning of this thread, but what's your point
  24. Thadeus? C++ didn't even have MI until version 2. C++ is and always
  25. was statically typed. Ada is also statically typed. Smalltalk and
  26. Objective-C (though dynamically typed) don't have MI. Forte' Software's
  27. TOOL language is statically typed, and doesn't support MI, even though
  28. it compiles down to C++. So, what's the point? Was pre-2.0 C++
  29. "toxic"? Besides that, unless you're using MI for a mix-in architecture
  30. instead of just the general combining of classes, you've probably
  31. got the wrong design anyway.
  32.  
  33. [.. snip ..]
  34.  
  35. > >I would like to see how you justify a claim of ease of mainenance when 
  36. Delphi 
  37. > >does not support MI. Implication-- under some circumstances one cannot 
  38. abstract
  39. > >out common behavior and therefor must cut and paste code-- ie-- they must 
  40. copy bugs.
  41. > >Everyone I know agrees that that causes a maintenace nightmare.
  42. > Yes, I agree that cutting & pasting code brings on maintenance
  43. > nightmare.  I'm less sure that a lack of MI does though, as would many
  44. > others.  MI vs. SI is an age old argument, and you're not going to get
  45. > a concensus on it anytime soon.  If you really want a discussion on
  46. > it, start a thread in comp.object!
  47.  
  48. Ever hear of composition and delegation? MI is not a feature supported
  49. by every OO language. If you're developing in Smalltalk, Obj-C, or
  50. Forte', you've got to use other mechanisms.
  51. If you listen to object purist, any language that is not a "pure OO" 
  52. language isn't OO at all -- with or without MI. Since C++ falls 
  53. into the hybrid category, it's often called non-OO. In fact, applying
  54. your MI argument plus the purist viewpoint, you're probably left with
  55. only one choice -- use Eiffel! It supports MI and is "pure". But, once again,
  56. what's your point? OOPLs are just implementation TOOLS to implement
  57. your OO analysis and design models. Some languages and environments
  58. are better suited for some things, others for other things. Use
  59. the best tool for the current job, and be done with it.
  60.  
  61. KeithB
  62.  
  63.  
  64.